#!/bin/bash
#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
FCA=$GOPATH/src/github.com/hyperledger/fabric-ca

echo "Running integration tests ..."

export PATH=$PATH:$GOPATH/bin

PKGS=`go list github.com/hyperledger/fabric-ca/test/integration/...`

go test $PKGS

exit $?
